package com.kun.dto;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

@Getter
@Setter
@ToString
@NoArgsConstructor
public class ProcessDefinitionDto extends BasePage{

    @NotBlank(message = "流程定义名称不能为空")
    private String name;

    @NotBlank(message = "流程定义XML不能为空")
    private String xml;

}
